package com.itheima.edu.info.test;

public class test09 {
    public static void main(String[] args) {
        int a=10;
        int b=30;
        int c=20;

        int tempmax = Math.max(a, b);
        int max = Math.max(tempmax, c);

        System.out.println(max);


        int tempmin = Math.min(a, b);
        int min = Math.min(tempmin, c);
        System.out.println(min);
    }
}
